package com.alibaba.cola.demo.service;

import com.alibaba.cola.demo.common.Result;
import com.alibaba.cola.demo.domain.Product;
import com.alibaba.cola.demo.dto.ProductDto;
import com.alibaba.cola.demo.dto.ProductQry;

import java.util.List;

public interface ProductService {

    List<Product> listAll();

    Result<List<ProductDto>> findByQry(ProductQry qry);
}
